/**
 * 授权
 */
const state = {
  isShowLoading: true,
  loginToken: "",
  openId: "",
};

const mutations = {
  UPDATE_SHOWLOADING(state, status) {
    state.isShowLoading = status;
  },
  UPDATE_LOGINTOKEN(state, text) {
    state.loginToken = text;
  },
  UPDATE_OPENID(state, text) {
    state.openId = text;
  },
};

const actions = {};

export default {
  state,
  mutations,
  actions,
};
